<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>


<div class="logo">
				<div class="logo_left">
					<img src="<%=basePath%>image/logo.jpg" width="200px" height="80px">
				</div>
				<div class="logo_right">
					<img src="<%=basePath%>image/tel.jpg" width="28px" height="28px" />
					24小时服务热线:
					<span class="tel">369-525-4745</span>
				</div>
			</div>
			<!--logo结束-->
			<div class="nav">
				<div class="nav_left"></div>
				<div class="nav_mid">
					<div class="nav_mid_left" style="position:relative">
						<ul>
							<li>
								<a href="<%=basePath%>forward.jsp" style="border-left: none" class="na"> 首页</a>
							</li>
                          


						<c:forEach items="${navlist}" var="item">
								<c:if test="${item.accordion==1}">

									<li>
										<a href="#" parent="${item.orders}"> ${item.name}</a>
										 <!--下拉-->
										 
										 <c:if test="${item.orders==1}">
												<div class="slide" child="${item.orders}">
											<ol>
												<c:forEach items="${navlist}"  var="child"  >
															 <c:set var="i" value="0"></c:set> 
                      										<c:if test="${item.nid==child.pid}">
                      										
                      											 <c:choose>
                      											 	
                      													
											                          <c:when test="${(child.orders-1)%3==0}">
											                                <li><a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a>
											                          </c:when>
											                          <c:when test="${(child.orders-1)%3==2}">
											                                <a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a></li>
											                          </c:when>
											                          <c:otherwise>
											                                 <a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a>
											                          </c:otherwise>
											                      </c:choose>
											                      
                      											
                      										</c:if>	
                      										<c:if test="${i%3!=0}"></li></c:if>	
                      							 </c:forEach>
											</ol>
											 <span class=nav-img><img src="<%=basePath%>image/nav-img-01.jpg" onclick="window.location='">
			                   				 </span>
			                            </div>


										</c:if>
										<c:if test="${item.orders<=4 and item.orders!=1}"> 
					                            <div class="slide" child="${item.orders}" style="position:absolute;left:${120+(item.orders-1)*120}px">
													<ol>
														<c:forEach items="${navlist}"  var="child"  >
															 <c:set var="i" value="0"></c:set> 
                      										<c:if test="${item.nid==child.pid}">
                      										
                      											 <c:choose>
                      											 	
                      													
											                          <c:when test="${(child.orders-1)%3==0}">
											                                <li><a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a>
											                          </c:when>
											                          <c:when test="${(child.orders-1)%3==2}">
											                                <a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a></li>
											                          </c:when>
											                          <c:otherwise>
											                                 <a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a>
											                          </c:otherwise>
											                      </c:choose>
											                      
                      											
                      										</c:if>	
                      										<c:if test="${i%3!=0}"></li></c:if>	
                      							 </c:forEach>
													</ol>
													 <span class=nav-img><img src="<%=basePath%>image/nav-img-01.jpg" onclick="window.location='">
					                   				 </span>
					                            </div>
					                    </c:if>
					                    <c:if test="${item.orders>4}"> 
					                            <div class="slide" child="${item.orders}" style="position:absolute;left:${121+(item.orders-1)*120-380}px">
													<ol>
													<!-- 遍历二级菜单 -->
														 
													
													
													
													 	<c:forEach items="${navlist}"  var="child"  >
															 <c:set var="i" value="0"></c:set> 
                      										<c:if test="${item.nid==child.pid}">
                      										
                      											 <c:choose>
                      											 	
                      													
											                          <c:when test="${(child.orders-1)%3==0}">
											                                <li><a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a>
											                          </c:when>
											                          <c:when test="${(child.orders-1)%3==2}">
											                                <a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a></li>
											                          </c:when>
											                          <c:otherwise>
											                                 <a href="<%=basePath%>front/index?cmd=enterpricemsg&nid=${child.nid}&pid=${child.pid}&pname=${item.name}">${child.name}</a>
											                          </c:otherwise>
											                      </c:choose>
											                      
                      											
                      										</c:if>	
                      										<c:if test="${i%3!=0}"></li></c:if>	
                      							 </c:forEach>
													</ol>
													 <span class=nav-img><img src="<%=basePath%>image/nav-img-01.jpg" onclick="window.location='">
					                   				 </span>
					                            </div>
					                    </c:if>
									</li>
								</c:if>

							</c:forEach>
							

						</ul>
					</div>
					<!--<div class="nav_mid_right">
                    <form action="" method="post">
                        <input type="text" class="search_text"/>
                    </form>
                </div>

            -->
				</div>
				<div class="nav_right"></div>
			</div>